
      <div class="content05" id="dimen-div">
        <h4>因子分析</h4>
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td>因子</td>
            <td>L</td>
            <td>F</td>
            <td>K</td>
            <td>Hs</td>
            <td>D</td>
            <td>Hy</td>
            <td>Pd</td>
            <td>Mf</td>
            <td>Pa</td>
            <td>Pt</td>
            <td>Sc</td>
            <td>Ma</td>
            <td>Si</td>
          </tr>
          <tr>
            <td>T分</td>
            <td><%= sprintf("%8.0f", @report[:dimen_results]["L"]) %></td>
            <td><%= sprintf("%8.0f", @report[:dimen_results]["F"]) %></td>
            <td><%= sprintf("%8.0f", @report[:dimen_results]["K"]) %></td>
            <td><%= sprintf("%8.0f", @report[:dimen_results]["Hs"]) %></td>
            <td><%= sprintf("%8.0f", @report[:dimen_results]["D"]) %></td>
            <td><%= sprintf("%8.0f", @report[:dimen_results]["Hy"]) %></td>
            <td><%= sprintf("%8.0f", @report[:dimen_results]["Pd"]) %></td>
            <td><%= sprintf("%8.0f", @report[:dimen_results]["Mf"]) %></td>
            <td><%= sprintf("%8.0f", @report[:dimen_results]["Pa"]) %></td>
            <td><%= sprintf("%8.0f", @report[:dimen_results]["Pt"]) %></td>
            <td><%= sprintf("%8.0f", @report[:dimen_results]["Sc"]) %></td>
            <td><%= sprintf("%8.0f", @report[:dimen_results]["Ma"]) %></td>
            <td><%= sprintf("%8.0f", @report[:dimen_results]["Si"]) %></td>
          </tr>
        </table>
      </div>

      <div class="content05">
        <h4>人格剖面图</h4>
        <div id="chart0" style="height:300px;width:480px;"></div>
      </div>

      <div class="content05">
        <h4>编码分析</h4>
        <div style="float:left; margin-left:20px;">
          <% if @report[:code][:name] %>
            <%= @report[:code][:name] %><br/>
            <%= @report[:code][:expl] %>
          <% else %>
            <%= @report[:code] %>
          <% end %>
        </div>
        <br/><br/>
        
        <h4>参考内容</h4>
        <div style="float:left">
             <div class="cm" id="fck-killer">
                <%= @test.norm_info.description %>
             </div>
        </div>
      </div>

<script type="text/javascript">
  jQuery(function () {

    function showChart(series) {
      var data = series;
      var options = {
        lines: {show: true },
        points: {show: true },
        xaxis: {
          tickDecimals: 0,
          tickSize: 2,
          ticks: [[0,""],  [1, "L"], [2, "F"], [3, "K"], [4, ""],
             [5, "Hs"], [6, "D"], [7, "Hy"], [8, "Pd"], [9, "Mf"], [10, "Pa"],
             [11, "Pt"], [12, "Sc"], [13, "Ma"], [14, "Si"],[15, ""]]
        },
        yaxis:{
          ticks: [0,[10, 10],[20, '20'], [30, '30'], [40, '40'], [50, "50"],[60, "60"], [70, "70"],
             [80, '80'], [90, '90'], [100, '100'], [110, 110], [120, "120"]],
          labelWidth:18
        }
      };

      //绘制图表
      jQuery.plot($("#chart0"), data, options);
    }
    
    showChart(<%=@t_json%>);

  });
</script>

